package net.aynt.blog.action.admin;

import net.aynt.blog.pojo.Comment;
import net.aynt.core.mvc.WebContext;

public class CommentAction {
	public String d(WebContext rc, long id) {
		Comment comment = Comment.INSTANCE.get(id);
		comment.delete();
		
		return "redirect:" + "/view/" + comment.getArticleId() + "#comments";
	}
}
